package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import com.zzyl.nursing.service.INursingTaskService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author gengpengyuan
 */
@Component
@Slf4j
public class NursingTaskJob {

    @Autowired
    private INursingTaskService nursingTaskService;

    public void updateNursingTaskStatusJob(){
        nursingTaskService.updateNursingTaskStatus();
        log.info("护理任务状态更新成功");
    }
}
